//
//  EGMBleHandler.h
//  BleSports
//
//  Created by hh on 14-10-23.
//  Copyright (c) 2014年 egoman. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SDKBlePedoOper.h"
#import "SDKBleHrmOper.h"
#import "EGMBleManager.h"
#import "SDKScannedPeripheral.h"
#import "SDKBleManager.h"



@interface SDKBleHandler : NSObject<EGMBleManagerDelagate>

@property(strong,nonatomic) EGMBleManager *bleManager;
@property(strong,nonatomic) SDKBlePedoOper *pedoOperation;
@property(strong,nonatomic) SDKBleHrmOper *hrmOperation;
@property(nonatomic,copy)  SDKScanResultBlock scanResultBlock;

+(SDKBleHandler*)sharedBleHandler;
-(void)connectOrScan;
-(void)stopConnectOrScan;
-(void)stopScan;
-(void)scanPeripheral;
-(void)addConnectedDevice:(SDKScanResultBlock)scanResultBlock;
@end

